package com.zhoust.threadbatch.service;

import com.zhoust.threadbatch.entity.User;

import java.util.List;

/**
 * @author zhoust
 */
public interface IUserService {

    /**
     * 测试回滚方法1
     * @return
     */
    public String testRollBackOne();
    /**
     * 测试回滚方法2
     */
    public void testRollBackTwo();
    /**
     * 测试回滚方法3
     * @return
     */
    public String testRollBackThree();


    void saveUser();

    public List<User> queryUser(List<Integer> ids);



}
